package com.poorstu.dao;

import java.util.ArrayList;
import java.util.List;

import com.common.base.dao.BaseDao;
import com.common.base.model.PaginationSupport;
import com.poorstu.model.LoginMod;

public interface LoginDao extends BaseDao{
	
	public List<LoginMod>  select(LoginMod login);
	
    public LoginMod selectUserById(int allUserId);
  
    public List<LoginMod> selectUserAll();
	
//	public List<PowerMod> selectpower(PowerMod power);
	
    
    public  boolean menberAdd(LoginMod login);
    
   // public LoginMod selectUserById(int allUserId);
    
    public boolean menberUpdate(LoginMod login);

    public boolean menberDelete(List<LoginMod> login);
    
    public LoginMod getUserByUserAccount(String userAccount);
    
    public PaginationSupport getUserByPage(String where,String orderField, String order,final Integer startIndex,final Integer pageSize);

    
   public boolean changePwd(LoginMod login);
   
   public boolean excelInput(ArrayList<LoginMod> loginList);
    
   // public 
}
